package cn.kgc.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author wangyue
 * @version 1.0
 */
@Data
@ApiModel
@SuppressWarnings("all")
public class UsersUpdateForm implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id", dataType = "java.lang.Integer")
    private Integer userId;
    /**
     * 名字
     */
    @ApiModelProperty(value = "名字", dataType = "java.lang.String")
    private String userName;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", dataType = "java.lang.String")
    private String userEmail;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", dataType = "java.lang.String")
    private String mobile;
    /**
     * 性别(1男 2 女)
     */
    @ApiModelProperty(value = "性别(1男 2 女)", dataType = "java.lang.Integer")
    private Integer sex;
    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id", dataType = "java.lang.Integer")
    private Integer deptId;
    /**
     * 工作
     */
    @ApiModelProperty(value = "工作", dataType = "java.lang.String")
    private String job;
    /**
     * 状态(1在职 2离职 3试用期)
     */
    @ApiModelProperty(value = "状态(1在职 2离职 3试用期)", dataType = "java.lang.Integer")
    private Integer state;
    /**
     * 角色ID
     */
    @ApiModelProperty(value = "角色ID", dataType = "java.lang.Integer")
    private Integer roleId;
    /**
     * 版本
     */
    @ApiModelProperty(name = "version", value = "乐观锁", dataType = "int")
    private int version;
}
